```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Java核心概念解析 | 技术小馆</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', 'Noto Serif SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background-color: #f8f9fa;
            color: #333;
        }
        .hero {
            background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
        }
        .code-block {
            background-color: #282c34;
            border-radius: 8px;
            font-family: 'Courier New', Courier, monospace;
        }
        .concept-card {
            transition: all 0.3s ease;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }
        .concept-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        .drop-cap::first-letter {
            font-size: 3.5em;
            float: left;
            line-height: 0.9;
            margin-right: 0.1em;
            font-weight: 700;
            color: #6e8efb;
        }
    </style>
</head>
<body class="antialiased">
    <!-- Hero Section -->
    <section class="hero text-white py-20 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl text-center">
            <h1 class="text-4xl md:text-6xl font-bold mb-6">Java核心概念解析</h1>
            <p class="text-xl md:text-2xl opacity-90 mb-8">深入理解static、继承、final和Object类</p>
            <div class="flex justify-center">
                <a href="#content" class="bg-white text-indigo-600 hover:bg-gray-100 font-semibold py-3 px-8 rounded-full transition-all duration-300 transform hover:scale-105">
                    <i class="fas fa-arrow-down mr-2"></i>探索更多
                </a>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main id="content" class="container mx-auto max-w-5xl py-12 px-4">
        <!-- Static Section -->
        <section class="mb-20">
            <div class="flex items-center mb-8">
                <i class="fas fa-cubes text-3xl text-indigo-500 mr-4"></i>
                <h2 class="text-3xl font-bold text-gray-800">static关键字</h2>
            </div>
            
            <div class="grid md:grid-cols-2 gap-6 mb-10">
                <div class="concept-card bg-white p-6">
                    <h3 class="text-xl font-semibold mb-4 text-indigo-600">静态变量</h3>
                    <p class="mb-4">使用static关键字定义的变量称为静态变量，也称为类变量。静态变量属于类，所有的对象共享同一份静态变量的副本。</p>
                    <div class="code-block p-4 text-gray-100 overflow-x-auto">
                        <pre><code>class MyClass {
    static int count = 0; // 静态变量
}

// 访问静态变量
int x = MyClass.count;
MyClass.count = 10;</code></pre>
                    </div>
                </div>
                
                <div class="concept-card bg-white p-6">
                    <h3 class="text-xl font-semibold mb-4 text-indigo-600">静态方法</h3>
                    <p class="mb-4">使用static关键字定义的方法称为静态方法，也称为类方法。静态方法属于类，可以直接通过类名调用。</p>
                    <div class="code-block p-4 text-gray-100 overflow-x-auto">
                        <pre><code>class MyClass {
    static void display() { // 静态方法
        System.out.println("Hello, world!");
    }
}

// 调用静态方法
MyClass.display();</code></pre>
                    </div>
                </div>
            </div>
            
            <div class="grid md:grid-cols-2 gap-6">
                <div class="concept-card bg-white p-6">
                    <h3 class="text-xl font-semibold mb-4 text-indigo-600">静态代码块</h3>
                    <p class="mb-4">使用static关键字定义的代码块称为静态代码块，它在类加载时执行，且仅执行一次。</p>
                    <div class="code-block p-4 text-gray-100 overflow-x-auto">
                        <pre><code>class MyClass {
    static {
        System.out.println("Static block");
    }
}</code></pre>
                    </div>
                </div>
                
                <div class="concept-card bg-white p-6">
                    <h3 class="text-xl font-semibold mb-4 text-indigo-600">静态内部类</h3>
                    <p class="mb-4">使用static关键字修饰的内部类称为静态内部类，它与外部类的实例无关。</p>
                    <div class="code-block p-4 text-gray-100 overflow-x-auto">
                        <pre><code>class Outer {
    static class Inner { // 静态内部类
        void display() {
            System.out.println("Inner class");
        }
    }
}

// 访问静态内部类
Outer.Inner obj = new Outer.Inner();
obj.display();</code></pre>
                    </div>
                </div>
            </div>
        </section>

        <!-- Inheritance Section -->
        <section class="mb-20">
            <div class="flex items-center mb-8">
                <i class="fas fa-project-diagram text-3xl text-indigo-500 mr-4"></i>
                <h2 class="text-3xl font-bold text-gray-800">继承</h2>
            </div>
            
            <div class="bg-white rounded-xl p-8 mb-8">
                <div class="drop-cap mb-6">
                    <p class="text-lg leading-relaxed">继承是面向对象编程中的重要概念之一，它允许子类（派生类）从父类（基类）继承属性和方法。在 Java 中，使用 extends 关键字来实现继承。</p>
                </div>
                
                <div class="grid md:grid-cols-2 gap-6 mt-8">
                    <div>
                        <h3 class="text-xl font-semibold mb-4 text-indigo-600">基本继承</h3>
                        <div class="code-block p-4 text-gray-100 overflow-x-auto">
                            <pre><code>class Parent {
    void display() {
        System.out.println("Parent class");
    }
}

class Child extends Parent {
    // 继承父类方法
}</code></pre>
                        </div>
                    </div>
                    
                    <div>
                        <h3 class="text-xl font-semibold mb-4 text-indigo-600">方法重写</h3>
                        <div class="code-block p-4 text-gray-100 overflow-x-auto">
                            <pre><code>class Child extends Parent {
    @Override
    void display() {
        System.out.println("Child class");
    }
}</code></pre>
                        </div>
                    </div>
                </div>
                
                <div class="mt-8">
                    <h3 class="text-xl font-semibold mb-4 text-indigo-600">super关键字</h3>
                    <div class="code-block p-4 text-gray-100 overflow-x-auto">
                        <pre><code>class Child extends Parent {
    String name = "Child";

    void displayName() {
        System.out.println(name); // 子类变量
        System.out.println(super.name); // 父类变量
        super.display(); // 调用父类方法
    }
}</code></pre>
                    </div>
                </div>
            </div>
            
            <div class="mt-8">
                <h3 class="text-xl font-semibold mb-4 text-indigo-600">继承关系可视化</h3>
                <div class="bg-white rounded-xl p-6">
                    <div class="mermaid">
                        classDiagram
                            class Parent {
                                +display()
                            }
                            class Child {
                                +display()
                                +show()
                            }
                            Parent <|-- Child
                    </div>
                </div>
            </div>
        </section>

        <!-- Final Section -->
        <section class="mb-20">
            <div class="flex items-center mb-8">
                <i class="fas fa-lock text-3xl text-indigo-500 mr-4"></i>
                <h2 class="text-3xl font-bold text-gray-800">final关键字</h2>
            </div>
            
            <div class="grid md:grid-cols-3 gap-6">
                <div class="concept-card bg-white p-6">
                    <h3 class="text-xl font-semibold mb-4 text-indigo-600">final变量</h3>
                    <p class="mb-4">使用final修饰的变量表示常量，其值在初始化后不可更改。</p>
                    <div class="code-block p-4 text-gray-100 overflow-x-auto">
                        <pre><code>final int MAX_SIZE = 10;</code></pre>
                    </div>
                </div>
                
                <div class="concept-card bg-white p-6">
                    <h3 class="text-xl font-semibold mb-4 text-indigo-600">final方法</h3>
                    <p class="mb-4">使用final修饰的方法表示该方法不可被子类重写。</p>
                    <div class="code-block p-4 text-gray-100 overflow-x-auto">
                        <pre><code>class Parent {
    final void display() {
        System.out.println("Parent class");
    }
}</code></pre>
                    </div>
                </div>
                
                <div class="concept-card bg-white p-6">
                    <h3 class="text-xl font-semibold mb-4 text-indigo-600">final类</h3>
                    <p class="mb-4">使用final修饰的类表示该类不可被继承。</p>
                    <div class="code-block p-4 text-gray-100 overflow-x-auto">
                        <pre><code>final class FinalClass {
    // 类定义
}</code></pre>
                    </div>
                </div>
            </div>
        </section>

        <!-- Object Class Section -->
        <section class="mb-20">
            <div class="flex items-center mb-8">
                <i class="fas fa-cube text-3xl text-indigo-500 mr-4"></i>
                <h2 class="text-3xl font-bold text-gray-800">Object类</h2>
            </div>
            
            <div class="bg-white rounded-xl p-8">
                <div class="drop-cap mb-6">
                    <p class="text-lg leading-relaxed">Java 中的 Object 类是所有类的根类，它位于 Java 类层次结构的顶端。Object 类提供了一些通用的方法，所有其他类都直接或间接地继承了这些方法。</p>
                </div>
                
                <div class="grid md:grid-cols-2 gap-6 mt-8">
                    <div>
                        <h3 class="text-xl font-semibold mb-4 text-indigo-600">equals()方法</h3>
                        <div class="code-block p-4 text-gray-100 overflow-x-auto">
                            <pre><code>@Override
public boolean equals(Object obj) {
    // 自定义相等性判断逻辑
}</code></pre>
                        </div>
                    </div>
                    
                    <div>
                        <h3 class="text-xl font-semibold mb-4 text-indigo-600">toString()方法</h3>
                        <div class="code-block p-4 text-gray-100 overflow-x-auto">
                            <pre><code>@Override
public String toString() {
    // 返回对象的字符串表示
}</code></pre>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Homework Section -->
        <section class="mb-20">
            <div class="flex items-center mb-8">
                <i class="fas fa-tasks text-3xl text-indigo-500 mr-4"></i>
                <h2 class="text-3xl font-bold text-gray-800">作业与思考</h2>
            </div>
            
            <div class="bg-white rounded-xl p-8">
                <ol class="list-decimal pl-6 space-y-6">
                    <li>
                        <p class="font-semibold">分析main方法为什么是这么定义的？（即分析public static void这三个关键词）</p>
                    </li>
                    <li>
                        <p class="font-semibold">为什么main方法里面直接调用方法，则该方法就必须是static的，而通过对象调用则不要求该方法为静态的。</p>
                    </li>
                    <li>
                        <p class="font-semibold">创建一个类，有自己的静态代码块、构造方法。在测试类中创建该类的多个对象，判断其执行结果</p>
                    </li>
                    <li>
                        <p class="font-semibold">判断下面的说法是否正确，并阐述理由</p>
                        <ul class="list-disc pl-8 mt-2 space-y-2">
                            <li>在静态方法中可以直接使用非静态变量</li>
                            <li>在非静态方法中可以调用静态方法</li>
                            <li>静态方法中不能使用this关键字</li>
                            <li>用static声明的方法为静态方法，调用此方法时可直接用类名调用</li>
                        </ul>
                    </li>
                    <li>
                        <p class="font-semibold">整理重写和重载的区别</p>
                    </li>
                    <li>
                        <p class="font-semibold">整理this和super的区别</p>
                    </li>
                    <li>
                        <p class="font-semibold">设计实验验证继承相关的结论</p>
                    </li>
                    <li>
                        <p class="font-semibold text-red-600">预习抽象类和接口以及多态的概念</p>
                    </li>
                </ol>
            </div>
        </section>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-12">
        <div class="container mx-auto max-w-5xl px-4 text-center">
            <h3 class="text-xl font-semibold mb-2">技术小馆</h3>
            <p class="mb-4">分享技术知识，提升编程能力</p>
            <a href="http://www.yuque.com/jtostring" class="text-indigo-400 hover:text-indigo-300 transition-colors duration-200">
                <i class="fas fa-external-link-alt mr-1"></i> http://www.yuque.com/jtostring
            </a>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
            }
        });
        
        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });
    </script>
</body>
</html>
```